<div class="row">
    <div class="col-sm-4">
        <form role="form">
            <div class="form-group">
                <label for="exampleInputEmail1">用户名</label>
                <input type="text" class="form-control"
                       ng-model="user.name"
                       id="exampleInputEmail1"
                       placeholder="请输入用户名">
            </div>
            <div class="form-group">
                <label for="exampleInputPassword1">密码</label>
                <input type="password" class="form-control"
                       ng-model="user.password"
                       id="exampleInputPassword1"
                       placeholder="请输入密码">
            </div>
            <button type="submit"
                    class="btn btn-default"
                    ng-click="loginClick()"
            >登录</button>
        </form>
        <h2 style="color:red">{{tishi}}</h2>
    </div>
</div>
<div class="flyover" ng-if="loading">
    <div class="mask"></div>
    <div class="alert alert-info">
      <img src="../images/progress.gif" alt="">
      <span>{{loadingText}}</span>
    </div>
</div>